package com.celer.randomobj;

import com.apifan.common.random.entity.Area;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;

@EqualsAndHashCode(callSuper = true)
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ToString
@JsonSerialize
public class Person extends Area{
    @JsonProperty("姓名")
    private String name;
    @JsonProperty("年龄")
    private int age;
    @JsonProperty("性别")
    private String gender;
    @JsonProperty("省")
    private String province;
    @JsonProperty("市")
    private String city;
    @JsonProperty("区")
    private String county;
    @JsonProperty("手机号")
    private String phone;
    @JsonProperty("邮箱")
    private String email;
    @JsonProperty("身份证号")
    private String idNumber;
    @JsonProperty("银行卡号")
    private String bankNumber;
    @JsonProperty("区号")
    private String zipCode;
}
